<template>
	<view class="privacyStatement">
		<text>{{info}}</text>
		<view class="btns">
			<button type="default" size="mini" @click="errorTap">不同意</button>
			<button type="primary" size="mini" @click="successTap">同意</button>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				info:''
			}
		},
		onLoad(options){
			this.info = options.info?options.info:'隐私说明'
			
		},
		methods: {
			errorTap(){
				uni.navigateBack({
					delta:1
				})
			},
			successTap(){
				uni.redirectTo({
					url: '../selectBlessingWays/selectBlessingWays'
				})
			},
		}
	}
</script>

<style lang="scss" scoped>
	.privacyStatement {
		height: 100vh;
		width: 660rpx;
		box-sizing: border-box;
		margin: 20rpx auto;
		.btns {
			display: flex;
			justify-content: space-around;
			align-items: center;
			margin: 40rpx auto;
		}
	}
</style>
